home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
music
/
5mods_4.arj
/
ONOFFANY.MOD
< prev
next >
Wrap
Text File
|
1994-01-24
|
2KB
|
53 lines
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name: FENRIC14.MOD Mod Author: Fenric │
│ Difficulty: ██▒▒▒▒▒▒▒▒ Date: December 28th, 1993 │
│ WWIV Versions: 4.23 │
│ Affected Files: MSGBASE1.C │
│ Version: 1.0 │
│ Description: Sysops can toggle message anony. │
└────────────────────────────────────────────────────────────────────────────┘
─██▐ Extended Description ▌██─
Stock WWIV provides the ability for a sysop only to turn a message's anony
off. This modification will allow the sysop to toggle the anony on or off.
─██▐ Step 1 ▌██─
Back up your source!
─██▐ Step 2: MSGBASE1.C ▌██─
Search for case 'U'. You should now be in void scan(...). If you are not,
go to the case 'U' in void scan(...). Replace the entire case with the
following. You are free to externalize the strings any way you see fit.
If you do not know how, do not worry. This modification won't exactly eat
up all your DGROUP.
/* Begin FENMOD14.423 Block Read Here */
case 'U':
if ((lcs()) && (msgnum>0) && (msgnum<=nummsgs)) {
if (msgs[msgnum].anony) {
msgs[msgnum].anony=0;
nl(); pl("Message is now NOT anonymous.");
bchanged = 1;
} else {
if (xsubs[curlsub].num_nets) {
nl(); pl("Cannot make network messages anonymous.");
} else {
msgs[msgnum].anony = anony_sender;
nl(); pl("Message is now anonymous.");
bchanged = 1;
}
}
}
break;
/* End FENMOD14.423 Block Read Here */
─██▐ Step 3: DOS ▌██─
Save all the modified files and exit to DOS. Run "make fcns" to update your
FCNS.H. "Make" the BBS and run your new compiled version. If you'd like to
comment on this modification, send mail to FENRIC@6909 WWIVnet, 1@1 Veloci-
net or shari@phoenix.princeton.edu internet.